﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XXX</title>
<link rel="stylesheet" type="text/css" href="css/base.css"/>
<link rel="stylesheet" type="text/css" href="css/home.css"/>
<link rel="stylesheet" type="text/css" href="city/city.css">
<script type="text/javascript" src="script/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="script/home_ban.js"></script>
<script type="text/javascript" src="script/eg_top_search.js"></script>
<script type="text/javascript" src="script/city.js"></script>
<script type="text/javascript" src="script/snncar.js"></script>
<script type="text/javascript">
$(function(){
	$('.navmenu li').hover(function(){
		$('span',this).stop().css('height','2px');
		$('span',this).animate({
			left:'0',
			width:'100%',
			right:'0'
		},200);
	},function(){
		$('span',this).stop().animate({
			left:'50%',
			width:'0'
		},200);
	});
});
</script>
<!--导航登陆网页版下拉-->
<script type="text/javascript">
$(function () {
	var setTime;
	$(".egc-top .nav-cent .operate").hover(function () {
		var _this = $(this);
		setTime = setTimeout(function () {
			_this.find(".sec-version").slideDown(200);
			_this.find("i").removeClass("icon-angle-down").addClass("icon-angle-up");
		}, 200);
	}, function () {
		if (setTime) {
			clearTimeout(setTime);
		}
		$(".egc-top .nav-cent .sec-version").slideUp(200);
		$(".egc-top .nav-cent .operate i").removeClass("icon-angle-up").addClass("icon-angle-down");
	});
});
</script>
<!--底部信息下拉-->
<script type="text/javascript">
$(function () {
	var wind_wd = $(window).width();
	if(wind_wd <= 735){
		/* $submenu.first().delay(400).slideDown(700);*/
			$('.relate .tit').on('click', function() {
			$(this).next('.con').slideToggle()
			$(this).parent().siblings('.items').find('.con').slideUp();
			});
		}else{
			 $('.relate .tit').unbind("click");
			 $('.relate .con').show();
			}
	$(window).resize(function(){
 		var wind_wd = $(window).width();
		if(wind_wd<=735){
		/* $submenu.first().delay(400).slideDown(700);*/
			$('.relate .tit').on('click', function() {
			$(this).next('.con').slideToggle()
			$(this).parent().siblings('.items').find('.con').slideUp();
			});
		}else{
			 $('.relate .tit').unbind("click");
			 $('.relate .con').show();
			}
	});
});
</script>

<!--搜搜框获取焦点-->
<script type="text/javascript">
$(function () {
$('.sea-ipt-txt').focus(function() { 
$(this).addClass("on");
$('.search-btn').addClass("on"); 
}); 
$('.sea-ipt-txt').blur(function() { 
$(this).removeClass("on");
$('.search-btn').removeClass("on");
}); 
});
</script>
<!--下拉导航关闭-->
<script type="text/javascript">
$(function () {
 $('.menu-mb i').click(function() { 
   $(".navigation-mb-list").slideDown(300);
 }); 
 $('.navigation-mb-list .list-close-btn').click(function() { 
   $(".navigation-mb-list").slideUp(300);
 });
});
</script>
<!--stress搜索关闭-->
<script type="text/javascript">
$(function () {
	var setTime;
	$(".sercat .weixin").hover(function () {
		setTime = setTimeout(function () {
			$(".sercat .wxewm").show();
		}, 300);
	}, function () {
		if (setTime) {
			clearTimeout(setTime);
		}
		$(".sercat .wxewm").hide();
	});
});
</script>
<script type="text/javascript">
$(function () {
	var scroll_heitht = $('body').offset().top;
	var isShow = true;
	$(window).scroll(function () {
       if ($(window).scrollTop() > scroll_heitht && isShow) {
			 $('.stress-search-box').slideDown(200);
       }else{
		   $('.stress-search-box').slideUp(200);
		   }
       });
   $('.stress-close a').click(function(){
	   isShow=false;
	   $('.stress-search-box').slideUp(200).unbind(window,aa);
	   });
});
</script>
</head>
<body>
<!--页面部分  挂载Vue实例后实例中的数据和方法可以绑定在标签中使用-->
<div id="list">
    <div class="egc-top">
      <div class="nav-cent">
        <div class="top-r"> <a href="#" id="b-regist">注册</a>|<a href="#" id="b-login" class="b-login">登录</a> </div>
        <div class="top-l">全国统一客服热线：XXX</div>
        <div class="clear_fix"></div>
      </div>
    </div>
    <div class="navigation">
      <div class="nav-cent">
        <div class="logo"><a href="index.html"><img src="images/logo.png" width="240" /></a></div>
        <div class="city"> <span id="DY_site_name" class="red city-name Left">合肥</span>
          <div id="JS_hide_city_menu_11" class="city-select cut_handdler Left"> <a href="javascript:void(0);" class="common-bg selector">切换城市</a>
            <div id="JS_header_city_bar_box" class="hide_city_group">
              <div class="hideMap">
                <div class="showPanel clearfix">
                  <div class="Left mycity">
                    <div id="JS_current_city_box"> 当前城市：<strong id="JS_city_current_city">合肥</strong> </div>
                    <div id="JS_default_city_delete" style="display: none;"></div>
                  </div>
                </div>
                <div class="showPanel showPanel2 clearfix">
                  <div class="hot_city" id="JS_header_city_hot"> </div>
                  <div class="city_words mt10" id="JS_header_city_char"> </div>
                </div>
                <div class="scrollBody">
                  <div class="cityMap clearfix">
                    <table id="JS_header_city_list" class="city_list" style="margin-top: 0px;">
                      <tbody>
                      </tbody>
                    </table>
                  </div>
                  <div class="scrollBar"> <span id="JS_header_city_bar" style="margin-top: 0px;"></span> </div>
                </div>
              </div>
            </div>
          </div>
          <span class="common-bg city-logo"></span> </div>
        <div class="sea">
          <div class="egc-sea-box">
            <input type="text" class="sea-ipt-txt" v-model="queryForm.keyword" placeholder="搜索您想要的车" />
            <a href="#" class="search-btn" @click="getCarDocList">搜索</a> </div>
        </div>
        <div class="hot-phone"> <i></i> <span class="js-change-phone">XXX</span> </div>
      </div>
    </div>
    <ul class="navmenu">
      <li class="active"><a href="index.html">首页</a><span></span></li>
      <li><a href="list.html">我要买车</a><span></span></li>
      <li><a href="wymc.html">我要卖车</a><span></span></li>
      <li><a href="#">阳光联盟</a><span></span></li>
      <li><a href="#">我要加盟</a><span></span></li>
    </ul>
    <div class="clear_fix"></div>
    <div class="stress-search-box row">
      <div class="stress-close"><a href="javascript:;"></a></div>
      <div class="nav-cents">
        <ul>
          <li class="logo"><a href="index.html"><img src="images/logo.png"  width="180"/></a></li>
          <li><a href="index.html">首页</a></li>
          <li><a href="list.html">我要买车</a></li>
          <li><a href="wymc.html">我要卖车</a></li>
          <li><a href="#">阳光联盟</a></li>
          <li><a href="#">我要加盟</a></li>
        </ul>
        <div class="seas">
          <div class="egc-sea-box">
              <input type="text" class="sea-ipt-txt" v-model="queryForm.keyword" placeholder="搜索您想要的车" />
              <a href="#" class="search-btn" @click="getCarDocList">搜索</a> </div>
        </div>
      </div>
    </div>
    <div class="clear_fix"></div>
    <!--所在位置-->
    <div class="crumbp"> <a href="#">首页</a> <em>&gt;</em> <span>个人二手车</span> </div>
    <div class="mainbox"> 
      <!--搜索条件-->
      <div class="comfilter-bd">
        <div class="filterBox">
          <dl class="fliter-bd clearfix">
            <dt>品牌：</dt>
            <dd class="clickBrandWidget">
                <a class="on" href="javascript:void(0);" @click="queryByBrand($event, null)">不限</a>
                <a class="" v-for="brand in aggs.brandBuckets"
                   href="javascript:void(0);"
                   @click="queryByBrand($event, brand.key)">
                    {{ brand.key }}({{ brand.count }})
                </a>
              <!--品牌全部--> 
              <span class="brand-all z30"> <em data-role="show">全部<i></i></em>
              <div data-role="otherBrand" class="otherbrand" style="display: none;">
                <div class="o-b-box"><span class="arrow"><s></s></span>
                  <ul data-role="letterNav" class="o-b-list">
                    <li class="clearfix"> <span>A</span>
                      <div> <a  href="#" title="奥迪二手车"> 奥迪 </a> </div>
                    </li>
                    <li class="clearfix"> <span>B</span>
                      <div> <a href="#" title="宝骏二手车"> 宝骏 </a> <a  href="#" title="宝马二手车"> 宝马 </a> <a  href="#" title="保时捷二手车"> 保时捷 </a> <a  href="#" title="北京二手车"> 北京 </a> <a  href="#" title="北汽二手车"> 北汽 </a> <a  href="#" title="北汽幻速二手车"> 北汽幻速 </a> <a href="#" title="北汽绅宝二手车"> 北汽绅宝 </a> <a  href="#" title="奔驰二手车"> 奔驰 </a> <a href="#" title="奔腾二手车"> 奔腾 </a> <a  href="#" title="本田二手车"> 本田 </a> <a  href="#" title="标致二手车"> 标致 </a> <a  href="#" title="别克二手车"> 别克 </a> <a  href="#" title="比亚迪二手车"> 比亚迪 </a> </div>
                    </li>
                    <li class="clearfix"> <span>C</span>
                      <div> <a  href="#" title="长安二手车"> 长安 </a> <a  href="#" title="长安商用二手车"> 长安商用 </a> <a  href="#" title="长城二手车"> 长城 </a> <a  href="#" title="传祺二手车"> 传祺 </a> <a  href="#" title="川汽野马二手车"> 川汽野马 </a> </div>
                    </li>
                    <li class="clearfix"> <span>D</span>
                      <div> <a  href="#" title="大发二手车"> 大发 </a> <a  href="#" title="道奇二手车"> 道奇 </a> <a  href="#" title="大众二手车"> 大众 </a> <a  href="#" title="东风二手车"> 东风 </a> <a  href="#" title="东风风度二手车"> 东风风度 </a> <a  href="#" title="东风风神二手车"> 东风风神 </a> <a  href="#" title="东风风行二手车"> 东风风行 </a> <a  href="#" title="东风小康二手车"> 东风小康 </a> <a  href="#" title="东南二手车"> 东南 </a> <a  href="#" title="DS二手车"> DS </a> </div>
                    </li>
                    <li class="clearfix"> <span>F</span>
                      <div> <a href="#" title="菲亚特二手车"> 菲亚特 </a> <a href="#" title="丰田二手车"> 丰田 </a> <a  href="#" title="福迪二手车"> 福迪 </a> <a  href="#" title="福特二手车"> 福特 </a> <a href="#" title="福田二手车"> 福田 </a> </div>
                    </li>
                    <li class="clearfix"> <span>G</span>
                      <div> <a  href="#" title="GMC二手车"> GMC </a> <a  href="#" title="广汽吉奥二手车"> 广汽吉奥 </a> <a  href="#" title="观致二手车"> 观致 </a> </div>
                    </li>
                    <li class="clearfix"> <span>H</span>
                      <div> <a  href="#" title="哈飞二手车"> 哈飞 </a> <a  href="#" title="哈弗二手车"> 哈弗 </a> <a href="#" title="海马二手车"> 海马 </a> <a href="#" title="红旗二手车"> 红旗 </a> <a  href="#" title="黄海二手车"> 黄海 </a> <a  href="#" title="华普二手车"> 华普 </a> <a href="#" title="华泰二手车"> 华泰 </a> </div>
                    </li>
                    <li class="clearfix"> <span>J</span>
                      <div> <a  href="#" title="Jeep二手车"> Jeep </a> <a  href="#" title="江淮二手车"> 江淮 </a> <a  href="#" title="江铃二手车"> 江铃 </a> <a href="#" title="捷豹二手车"> 捷豹 </a> <a  href="#" title="吉利二手车"> 吉利 </a> <a  href="#" title="金杯二手车"> 金杯 </a> <a  href="#" title="九龙二手车"> 九龙 </a> </div>
                    </li>
                    <li class="clearfix"> <span>K</span>
                      <div> <a  href="#" title="凯迪拉克二手车"> 凯迪拉克 </a> <a  href="#" title="凯翼二手车"> 凯翼 </a> </div>
                    </li>
                    <li class="clearfix"> <span>L</span>
                      <div> <a  href="#" title="雷克萨斯二手车"> 雷克萨斯 </a> <a href="#" title="雷诺二手车"> 雷诺 </a> <a  href="#" title="猎豹二手车"> 猎豹 </a> <a  href="#" title="力帆二手车"> 力帆 </a> <a  href="#" title="铃木二手车"> 铃木 </a> <a  href="#" title="陆风二手车"> 陆风 </a> <a  href="#" title="路虎二手车"> 路虎 </a> </div>
                    </li>
                    <li class="clearfix"> <span>M</span>
                      <div> <a  href="#" title="马自达二手车"> 马自达 </a> <a  href="#" title="MG二手车"> MG </a> <a  href="#" title="MINI二手车"> MINI </a> </div>
                    </li>
                    <li class="clearfix"> <span>N</span>
                      <div> <a  href="#" title="纳智捷二手车"> 纳智捷 </a> </div>
                    </li>
                    <li class="clearfix"> <span>O</span>
                      <div> <a href="#" title="欧宝二手车"> 欧宝 </a> <a  href="#" title="讴歌二手车"> 讴歌 </a> <a  href="#" title="欧朗二手车"> 欧朗 </a> </div>
                    </li>
                    <li class="clearfix"> <span>Q</span>
                      <div> <a  href="#" title="启辰二手车"> 启辰 </a> <a  href="#" title="奇瑞二手车"> 奇瑞 </a> <a  href="#" title="起亚二手车"> 起亚 </a> </div>
                    </li>
                    <li class="clearfix"> <span>R</span>
                      <div> <a  href="#" title="日产二手车"> 日产 </a> <a  href="#" title="荣威二手车"> 荣威 </a> <a  href="#" title="瑞麒二手车"> 瑞麒 </a> </div>
                    </li>
                    <li class="clearfix"> <span>S</span>
                      <div> <a  href="#" title="三菱二手车"> 三菱 </a> <a  href="#" title="上汽大通二手车"> 上汽大通 </a> <a  href="#" title="双龙二手车"> 双龙 </a> <a  href="#" title="斯巴鲁二手车"> 斯巴鲁 </a> <a  href="#" title="斯柯达二手车"> 斯柯达 </a> <a  href="#" title="思铭二手车"> 思铭 </a> <a  href="#" title="Smart二手车"> Smart </a> </div>
                    </li>
                    <li class="clearfix"> <span>W</span>
                      <div> <a  href="#" title="威旺二手车"> 威旺 </a> <a  href="#" title="沃尔沃二手车"> 沃尔沃 </a> <a href="#" title="五菱二手车"> 五菱 </a> </div>
                    </li>
                    <li class="clearfix"> <span>X</span>
                      <div> <a  href="#" title="夏利二手车"> 夏利 </a> <a  href="#" title="现代二手车"> 现代 </a> <a  href="#" title="雪佛兰二手车"> 雪佛兰 </a> <a  href="#" title="雪铁龙二手车"> 雪铁龙 </a> </div>
                    </li>
                    <li class="clearfix"> <span>Y</span>
                      <div> <a  href="#" title="英菲尼迪二手车"> 英菲尼迪 </a> <a  href="#" title="一汽二手车"> 一汽 </a> <a href="#" title="依维柯二手车"> 依维柯 </a> <a  href="#" title="永源二手车"> 永源 </a> </div>
                    </li>
                    <li class="clearfix"> <span>Z</span>
                      <div> <a  href="#" title="中华二手车"> 中华 </a> <a  href="#" title="众泰二手车"> 众泰 </a> </div>
                    </li>
                  </ul>
                </div>
              </div>
              </span> 
              <!--品牌全部--> 
            </dd>
          </dl>
          <dl class="fliter-bd clearfix">
            <dt>店铺：</dt>
            <dd class="clickTagWidget">
                <a  class="on" href="javascript:void(0);" @click="queryByShopName($event, null)">不限</a>
                <a class="" href="javascript:void(0);"
                   v-for="shop in aggs.shopNameBuckets"
                   @click="queryByShopName($event, shop.key)">
                    {{ shop.key }}({{ shop.count }})
                </a>
            </dd>
          </dl>
          <dl class="fliter-bd clearfix">
            <dt>价格：</dt>
            <dd> <a  class="on" href="#" @click="queryByPrice($event,null,null)">不限</a>
                <a  class="" href="#" title="3万以下二手车" @click="queryByPrice($event,null,3)"> 3万以下 </a>
                <a  class="" href="#" title="3-5万二手车" @click="queryByPrice($event,3,5)"> 3-5万 </a>
                <a  class="" href="#" title="5-10万二手车" @click="queryByPrice($event,5,10)"> 5-10万 </a>
                <a  class="" href="#" title="10-15万二手车" @click="queryByPrice($event,10,15)"> 10-15万 </a>
                <a  class="" href="#" title="15-20万二手车" @click="queryByPrice($event,15,20)"> 15-20万 </a>
                <a  class="" href="#" title="20万以上二手车" @click="queryByPrice($event,20,null)"> 20万以上 </a>
                <span class="input-box clearfix rangeFilter">
                  <label>
                    <input type="text" value="" data-default-value="0" size="4" class="js-begin" maxlength="3" id="my_price_b" name="b">
                  </label>
                  <label><i class="input-line">-</i></label>
                  <label>
                    <input type="text" value="" data-default-value="999" size="4" class="js-end" maxlength="3" id="my_price_e" name="e">
                  </label>
                  <label class="input-unit">万</label>
                  <label><a gjalog="" href="#" class="input-btn js-btn">筛选</a></label>
                </span>
            </dd>
          </dl>
          <dl class="fliter-bd clearfix">
            <dt>车龄：</dt>
            <dd>
                <a data-role="filterItemAge" data-value="" class="on" href="#" @click="queryByCarAge($event,null,null)">不限</a>
                <a  class="" href="#" title="1年以内二手车" @click="queryByCarAge($event,null,1)"> 1年以内 </a>
                <a  class="" href="#" title="1-3年二手车" @click="queryByCarAge($event,1,3)"> 1-3年 </a>
                <a class="" href="#" title="3-5年二手车" @click="queryByCarAge($event,3,5)"> 3-5年 </a>
                <a  class="" href="#" title="5年以上二手车" @click="queryByCarAge($event,5,null)"> 5年以上 </a>
            </dd>
          </dl>
          <div class="moreitem clearfix">
            <span>更多：</span>
            <dl class="selecter">
            <dt>车型</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a></li>
                    <li><a href="javascript:void(0);"> 两厢轿车 </a></li>
                    <li><a href="javascript:void(0);"> 三厢轿车 </a></li>
                    <li><a href="javascript:void(0);"> 跑车 </a></li>
                    <li><a href="javascript:void(0);"> SUV </a></li>
                    <li><a href="javascript:void(0);" > MPV </a></li>
                </ul>
            </dd>
        </dl>
        <dl class="selecter">
            <dt>座位</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a></li>
                    <li><a href="javascript:void(0);" > 2座 </a></li>
                    <li><a href="javascript:void(0);"> 4座 </a></li>
                    <li><a href="javascript:void(0);"> 5座 </a></li>
                    <li><a href="javascript:void(0);"> 6座 </a></li>
                    <li><a href="javascript:void(0);"> 7座及以上 </a></li>
                </ul>
            </dd>
        </dl>
        <dl class="selecter">
            <dt>行驶里程</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a></li>
                    <li><a href="javascript:void(0);"> 1万公里内 </a></li>
                    <li><a href="javascript:void(0);"> 3万公里内 </a></li>
                    <li><a href="javascript:void(0);"> 5万公里内 </a></li>
                    <li><a href="javascript:void(0);"> 5万公里以上 </a></li>
                </ul>
            </dd>
        </dl>
        <dl class="selecter">
            <dt>变速箱</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a>  </li>
                    <li><a href="javascript:void(0);"> 手动 </a></li>
                    <li><a href="javascript:void(0);"> 自动 </a></li>
                </ul>
            </dd>
        </dl>
        <dl class="selecter">
            <dt>排量</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a></li>
                    <li><a href="javascript:void(0);"> 1.0L以下 </a></li>
                    <li><a href="javascript:void(0);"> 1.0-1.6L </a></li>
                    <li><a href="javascript:void(0);"> 1.6-2.0L </a></li>
                    <li><a href="javascript:void(0);"> 2.0-3.0L </a></li>
                    <li><a href="javascript:void(0);"> 3.0L以上 </a></li>
                </ul>
            </dd>
        </dl>
        <dl class="selecter">
            <dt>排放标准</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a> </li>
                    <li><a href="javascript:void(0);"> 国二及以上 </a></li>
                    <li><a href="javascript:void(0);"> 国三及以上 </a></li>
                    <li><a href="javascript:void(0);"> 国四及以上 </a></li>
                    <li><a href="javascript:void(0);"> 国五 </a></li>
                </ul>
            </dd>
        </dl>
        <dl class="selecter">
            <dt>燃油类型</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a></li>
                    <li><a href="javascript:void(0);"> 汽油 </a></li>
                    <li><a href="javascript:void(0);"> 柴油 </a></li>
                    <li><a href="javascript:void(0);"> 电动 </a></li>
                    <li><a href="javascript:void(0);"> 油电混合 </a></li>
                    <li><a href="javascript:void(0);"> 其他 </a></li>
                </ul>
            </dd>
        </dl>
        <dl class="selecter">
            <dt>颜色</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump03"></i>黑色 </a> </li>
                    <li><a href="javascript:void(0);"> <i class="c-lump04"></i>白色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump10"></i>银灰色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump09"></i>红色 </a> </li>
                    <li><a href="javascript:void(0);"> <i class="c-lump15"></i>深灰色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump11"></i>橙色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump02"></i>绿色 </a></li>
                    <li><a href="javascript:void(0);" > <i class="c-lump05"></i>蓝色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump06"></i>咖啡色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump07"></i>紫色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump08"></i>香槟色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump12"></i>多彩色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump13"></i>黄色 </a></li>
                    <li><a href="javascript:void(0);"> <i class="c-lump14"></i>其它 </a></li>
                </ul>
            </dd>
        </dl>
        <dl class="selecter">
            <dt>国别</dt>
            <dd>
                <ul>
                    <li><a href="javascript:void(0);">不限</a></li>
                    <li><a href="javascript:void(0);"> 德系 </a></li>
                    <li><a href="javascript:void(0);"> 日系 </a></li>
                    <li><a href="javascript:void(0);"> 美系 </a></li>
                    <li><a href="javascript:void(0);"> 法系 </a></li>
                    <li><a href="javascript:void(0);"> 韩系 </a></li>
                    <li><a href="javascript:void(0);"> 国产 </a></li>
                    <li><a href="javascript:void(0);"> 其他 </a></li>
                </ul>
            </dd>
        </dl>
          </div>
         
        </div>
        <div class="sel-menu clearfix">
          <p class="sel-p">当前筛选&gt;</p>
          <a href="#"  class="sel-a">大众</a> <a href="#"  class="sel-reset">重置</a>
          <p class="sel-p">共为您找到<b>508</b>辆好车</p>
        </div>
      </div>
      <div class="seqBox clearfix">
        <p class="fr seqtype">共找到<b>3430</b>辆 </p>
        <ul class="sequen">
          <li class="first"><a href="#" >默认排序</a></li>
          <li> <a href="#" title="" data-type="DESC" @click="sortField($event, 'onSaleTime')">最新发布 </a> </li>
          <li> <a href="#" title="" data-type="ASC" @click="sortField($event, 'costPrice')">价格<i class="up"></i> </a> </li>
          <li> <a href="#" title="" data-type="ASC" @click="sortField($event, 'registerTime')">车龄<i class="up"></i> </a> </li>
          <li> <a href="#" title="" data-type="ASC" @click="sortField($event, 'mileage')">里程<i class="up"></i> </a> </li>
        </ul>
        <ul id="checkArea" class="screen-input tagTypesFilterNew">
          <li>
            <input type="checkbox" id="superValue" data-term="costEffective" @click="changeTerm($event)">
            <label for="superValue">超值</label>
          </li>
          <li>
            <input type="checkbox" id="urgentSales" data-term="rushSale" @click="changeTerm($event)">
            <label for="urgentSales">急售</label>
          </li>
          <li >
            <input type="checkbox" id="quasiNewCar" data-term="quasiNewCar" @click="changeTerm($event)">
            <label for="quasiNewCar">准新车</label>
          </li>
          <li >
            <input type="checkbox" id="nationWide" data-term="transitiveCountry" @click="changeTerm($event)">
            <label for="nationWide">可迁全国</label>
          </li>
        </ul>
      </div>
      <ul class="carList">
          <li v-for="carDoc in carDocList" @click="toCarDetail(carDoc.id)">
              <div class="list-infoBox">
                  <a title=carDoc.title target="_blank" class="imgtype" :src=carDoc.cover> <img width="290" height="194" src="images/carimg.jpg" alt=carDoc.title></a>
                  <p class="infoBox">
                      <a  title=carDoc.title :src=carDoc.cover target="_blank" class="info-title">{{ carDoc.title }}</a>
                  </p>
                  <p class="fc-gray">
                      <span class="tag-gray">{{ carDoc.shopAddress }}</span> <span class="">{{ carDoc.registerTime }}</span> <em class="shuxian">|</em> 行驶{{ carDoc.mileage }}万公里
                  </p>
                  <p class="priType-s">
                      <em class="tag-red" v-if="carDoc.rushSale === 1">急售</em>
                      <em class="tag-green" v-if="carDoc.quasiNewCar === 1">准新车</em>
                      <em class="tag-yellow" v-if="carDoc.costEffective === 1">超值</em>
                      <em class="tag-blue">里程少</em>
                      <span> <i class="fc-org priType"> {{ carDoc.costPrice*0.0001 }}万 </i></span>
                      <s>{{ carDoc.salePrice*0.0001 }}万</s>
                  </p>
              </div>
          </li>
        <!--
        <li>
          <div class="list-infoBox"> <a title="奇瑞QQ3 2012款 QQ3 0.8 手动 梦想版" target="_blank" class="imgtype" href="infor.html"> <img width="290" height="194" src="images/carimg.jpg" alt="奇瑞QQ3 2012款 QQ3 0.8 手动 梦想版"> </a>
            <p class="infoBox"> <a  title="奇瑞QQ3 2012款 QQ3 0.8 手动 梦想版" href="infor.html" target="_blank" class="info-title">奇瑞QQ3 2012款 QQ3 0.8 手动 梦想版</a> </p>
            <p class="fc-gray"> <span class="tag-gray">石家庄</span> <span class="">2014年11月上牌</span> <em class="shuxian">|</em> 行驶2.4万公里 </p>
            <p class="priType-s"> <em class="tag-red">急售</em> <em class="tag-green">准新车</em> <em class="tag-yellow">超值</em> <span> <i class="fc-org priType"> 9.45万 </i> </span> <s>13.00万</s> </p>
          </div>
        </li>
        -->
      </ul>
    </div>
    <!--分页条-->
    <div class="pages">
        <a href="javascript:void(0);" v-if="currentPage != 1" @click="changePage(currentPage - 1)">&lt;&lt;</a>
        <a v-for="pageNum in pageTotal"
           :class="currentPage === pageNum?'on':''"
           href="javascript:void(0);" @click="changePage(pageNum)">{{ pageNum }}</a>
        <a href="javascript:void(0);" v-if="currentPage != pageTotal" @click="changePage(currentPage + 1)">&gt;&gt;</a>
    </div>
    <div class="clear_fix"></div>
    <!--底部-->
    <div class="ftWrap">
      <div class="foot">
        <div class="cent">
          <div class="relate">
            <div class="items">
              <div class="tit"><i class="icon-angle-right"></i>交易帮助</div>
              <div class="con"> <a href="#">买车帮助</a> <a href="#">卖车帮助</a> <a href="#">过户帮助</a> </div>
            </div>
            <div class="items">
              <div class="tit"><i class="icon-angle-right"></i>客服中心</div>
              <div class="con"> <a href="abut.html">网站合作</a> <a href="about.html">关于我们</a> <a href="contact.html">联系我们</a> </div>
            </div>
            <div class="items">
              <div class="tit"><i class="icon-angle-right"></i>购车指南</div>
              <div class="con"> <a href="#">购车帮助</a></div>
            </div>
            <div class="app-section"> <img class="js-delayed-img"  src="images/f_wx.jpg">
              <div class="title">扫码关注微信</div>
              <p> 随时随地，秒杀好车<br />
                优质个人二手车 </p>
            </div>
            <div class="items last">
              <div class="tel">
                <h1>XXX</h1>
                <p>周一至周日 8:00-18:00</p>
                <p>免费咨询(咨询、建议、投诉)</p>
                <a href="#" class="kf"><i class="kf-icon"></i>在线客服</a> </div>
              <div class="tel-mb">
                <p><span>XXX</span>周一至周日 8:00-18:00(仅收市话费)</p>
                <a href="#" class="kf"><i class="kf-icon"></i>在线客服</a> </div>
            </div>
          </div>
        </div>
      </div>
      <div class="copyright">
        <div class="cent"> Copyright © 2020,All Rights Reserved 皖ICP备XXX号-1</div>
      </div>
    </div>
    <script type="text/javascript" src="script/3c-menu.js"></script> 
    <script type="text/javascript" src="script/lg_reg.js"></script> 
    <!--会员登录和注册弹出框开始-->
    <div id="popBox">
      <div class="popCont"> <a class="p_closed">关闭</a>
        <div class="p-tab"> <a>会员登录<i></i></a><a>会员注册<i></i></a> </div>
        <div class="p-detail">
          <div class="p-dl">
            <form onsubmit="return check();" enctype="multipart/form-data" method="post" name="form" id="form">
              <ul class="login-items">
                <li>
                  <label>用户名(手机号)</label>
                  <input class="input" type="text" value="" maxlength="32"  name="username" placeholder="请输入您的手机号">
                </li>
                <li>
                  <label>密码</label>
                  <input class="input" type="password" value="" maxlength="16"  name="password">
                </li>
              </ul>
              <div class="login-check">
                <input type="checkbox" name="checkbox" style=" width:auto;" />
                <label>记住我</label>
                <a href="Meet/editPass">忘记登录密码？</a> </div>
              <div class="login-button">
                <input type="hidden" value="" name="carid" class="ordercarid" />
                <input type="hidden" value="" name="carstatus" class="orderstatus" />
                <input type="button"  value="登&nbsp;&nbsp;&nbsp;&nbsp;陆" class="fM" onclick="$('#form').submit()" />
              </div>
            </form>
          </div>
          <div class="p-dl">
            <form class="registForm" onsubmit="return regcheck();" enctype="multipart/form-data" method="post" name="reg" id="reg">
              <ul class="login-items">
                <li class="clearfix">
                  <input class="input" name="mobile" id="mobile" type="text" value="" placeholder="手机号码（登录帐号）">
                </li>
                <li class="clearfix">
                  <input class="input left" type="text" value=""  name="verify" placeholder="输入验证码" style="width:100px;" />
                  <div id="send"><a href="#" class="send_code right">获取验证码</a></div>
                </li>
                <li class="clearfix">
                  <input class="input" type="text" value=""  name="realname" placeholder="姓名">
                </li>
                <li class="clearfix sex">
                  <input type="radio" checked="" name="gender" value="M" />
                  男&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="radio" name="gender" value="F" />
                  女 </li>
                <li class="clearfix">
                  <input id="" class="input" type="password" name="password" value="" placeholder="输入密码（六位字符）">
                </li>
              </ul>
              <div class="login-button">
                <input type="hidden" value="" name="carid" class="ordercarid" />
                <input type="hidden" value="" name="carstatus" class="orderstatus" />
                <input type="button"  value="立即注册" class="fM" onclick="$('#reg').submit()" />
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
</div>
<!--会员登录和注册弹出框结束-->
<script>
$(function(){
	var t=null,$this,i=0;
	//品牌
	$(".brand-all").bind({
		mouseenter:function(){
			$(this).find(".otherbrand").show();
		},
		mouseleave:function(){
			$(this).find(".otherbrand").hide();
		}
	});
	
});
</script> 
<script type="text/javascript">
$(".hoverWidget").each(function() {
				$(this).mouseenter(function() {
					$(this).addClass("active")
				}).mouseleave(function() {
					$(this).removeClass("active")
				})
			});
</script>
<div id="leftsead">
	<ul>
	     <li>
			<a id="top_btn">
				<img src="images/foot03/ll06.png" width="47" height="49" class="hides"/>
				<img src="images/foot03/l06.png" width="47" height="49" class="shows" />
			</a>
		</li>

		<li>
			<a href="">
				<img src="images/foot03/ll03.png"  width="47" height="49" class="hides"/>
				<img src="images/foot03/l03.png" width="47" height="49" class="shows" />
			</a>
		</li>

		<li>
			<a href="">
					<img src="images/foot03/ll02.png" width="166" height="49" class="hides"/>
				<img src="images/foot03/l04.png" width="47" height="49" class="shows" />
			</a>
		</li>

		<li>
			<a class="youhui">
				<img src="images/foot03/l02.png" width="47" height="49" class="shows" />
				<img src="images/foot03/zfew.jpg" width="196" height="205" class="hides" usemap="#taklhtml"/>
			</a>
		</li>
	
	
	
	</ul>
</div><!--leftsead end-->


<script type="text/javascript">
$(document).ready(function(){

	$("#leftsead a").hover(function(){
		if($(this).prop("className")=="youhui"){
			$(this).children("img.hides").show();
		}else{
			$(this).children("img.hides").show();
			$(this).children("img.shows").hide();
			$(this).children("img.hides").animate({marginRight:'0px'},'slow'); 
		}
	},function(){ 
		if($(this).prop("className")=="youhui"){
			$(this).children("img.hides").hide('slow');
		}else{
			$(this).children("img.hides").animate({marginRight:'-143px'},'slow',function(){$(this).hide();$(this).next("img.shows").show();});
		}
	});

	$("#top_btn").click(function(){if(scroll=="off") return;$("html,body").animate({scrollTop: 0}, 600);});

});
</script>
<script type="text/javascript">
$(function(){
	$(".selecter").each(function(){
		var s=$(this);
		var z=parseInt(s.css("z-index"));
		var dt=$(this).children("dt");
		var dd=$(this).children("dd");
		var _show=function(){dd.slideDown(200);dt.addClass("cur");s.css("z-index",z+1);};   //展开效果
		var _hide=function(){dd.slideUp(200);dt.removeClass("cur");s.css("z-index",z);};    //关闭效果
		dt.click(function(){dd.is(":hidden")?_show():_hide();});
		dd.find("a").click(function(){dt.html($(this).html());_hide();});     //选择效果（如需要传值，可自定义参数，在此处返回对应的“value”值 ）
		$("body").click(function(i){ !$(i.target).parents(".selecter").first().is(s) ? _hide():"";});
	})
})
</script>
<!--    引入axios和vue-->
<script type="text/javascript" src="js/axios/dist/axios.js"></script>
<script type="text/javascript" src="js/vue/dist/vue.min.js"></script>
<script type="text/javascript" src="js/commons.js"></script>
<!--创建Vue实例-->
<script>
    new Vue({
        el:'#list',
        data:{
            keyword:null,
            pageSize:16,
            currentPage:1,
            total:'',  //数据总条数
            carDocList:[],  //分页查询返回的数据
            aggs:null,  //聚合查询返回的字段bucket的map
            queryForm:{
                keyword:'',
                priceMin:null,
                priceMax:null,
                carAgeMin:null,
                carAgeMax:null,
                orderField:'',
                orderType:'',
                pageSize:16,
                currentPage:1,
                brand:null,
                shopName:null
            }
        },
        methods:{
            /* 点击图片封面跳转到车辆详情页面 */
            toCarDetail(carId){
                window.open('/detail/' + carId + '.html');
            },
            /* 根据选中的店铺查询对应数据 */
            queryByShopName(e, shopName){
                $(e.target).siblings().attr('class',''); //将兄弟标签的class属性置为null
                $(e.target).attr('class','on'); //将当前标签的class属性赋值为on
                this.queryForm.shopName = shopName;
                this.getCarDocList();
            },
            /* 根据选中的品牌查询对应的数据 */
            queryByBrand(e, brand){
                $(e.target).siblings().attr('class',''); //将兄弟标签的class属性置为null
                $(e.target).attr('class','on'); //将当前标签的class属性赋值为on
                this.queryForm.brand = brand;
                this.getCarDocList();
            },
            /* 获取排序的字段和排序类型 */
            sortField(e, field){
                this.queryForm.orderField = field;
                var sortType = $(e.target).attr('data-type');
                this.queryForm.orderType = sortType;
                //更改字段排序状态
                if (sortType === 'DESC'){
                    $(e.target).attr('data-type' ,'ASC');
                }else if (sortType === 'ASC'){
                    $(e.target).attr('data-type' ,'DESC');
                }
                this.getCarDocList();
            },
            /* 急售、超值、准信、可迁全国搜索赋值 */
            changeTerm(e){
                var state = $(e.target).prop("checked"); //判断当前标签是否绑定了checked属性
                var term = $(e.target).data("term");
                if (state){  //添加元素
                    this.queryForm[term] = 1;
                }else {  //移除元素
                    this.queryForm[term] = null;
                }
                this.getCarDocList();
            },
            /* 给queryForm的车龄赋值 */
            queryByCarAge(e, min, max){
                if (min){
                    this.queryForm.carAgeMin = min;
                }
                if (max){
                    this.queryForm.carAgeMax = max;
                }
                //e.target就是获取事件源--js对象
                $(e.target).siblings().attr('class','');  //获取所有兄弟标签，并设置class属性为null
                $(e.target).attr('class','on');  //给当前标签绑定属性class
                this.getCarDocList();
            },
            /* 给queryForm的价格赋值 */
            queryByPrice(e, min, max){
                if (min){
                    this.queryForm.priceMin = min*10000;
                }
                if (max){
                    this.queryForm.priceMax = max*10000;
                }
                //e.target就是获取事件源--js对象
                $(e.target).siblings().attr('class','');  //获取所有兄弟标签，并设置class属性为null
                $(e.target).attr('class','on');  //给当前标签绑定属性class
                this.getCarDocList();
            },
            /* 改变当前页 */
            changePage(pageName){
                this.currentPage = pageName;
                this.getCarDocList(); //改变页码之后再查询一次
            },
            /* 根据条件分页查询所有数据 */
            getCarDocList(){
                this.queryForm.pageSize = this.pageSize;
                this.queryForm.currentPage = this.currentPage;
                this.$http.post("/carDoc",this.queryForm)
                    .then(res => {
                        let{code,data,success,message} = res.data; //解构表达式
                        if (success){
                            this.total = data.total;
                            this.carDocList = data.data;
                            this.aggs = data.aggs;
                        }
                    })
            }
        },
        mounted(){
            this.getCarDocList();
        },
        //TODO:计算属性--结构和methods一样，里面是方法，方法名就是返回的值
        computed:{
            pageTotal(){
                return Math.ceil(this.total/this.pageSize)
            }
        }
    })
</script>
</body>
</html>